package com.pzr.soccer.crawler.model;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author pzr
 * @date:2021-12-14-16:27
 * @Description:
 **/
@Data
@NoArgsConstructor
public class CrawlerContext {
    private String url;
    private String tag;
    private int parseErrors;
    private int extractErrors;
    private String selector;
    public CrawlerContext(String url, String tag){
        this.url=url;
        this.tag=tag;
    }
    public CrawlerContext(String url, String tag, String selector){

        this.url=url;
        this.tag=tag;
        this.selector=selector;
    }
}
